<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="/js/jquery.js"></script>
    <script src="/js/upload.js"></script>
</head>
<body>
    <input type="file" id="file" onchange="init()"><br>
    <span id="fileSize">显示已上传大小</span>
    <div id="progress-border" style="width:200px;height:20px; background: gray;display: none;">
        <div id="progress" style="background: green;height:20px;width:0px;"></div>
    </div>
</body>
</html>